import React, { Component } from 'react'
import connect from './store/connect'

 class Num extends Component {
  render() {
    return (
      <h1>
        {this.props.num}
      </h1>
    )
  }
  componentDidMount(){
    console.log(this.props)
  }
}

export default connect(Num)
